import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "@/router";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//import store from './store/index.ts';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import VxeTable from "vxe-table";
import 'vxe-table/lib/style.css'
const app = createApp(App);

// 全局组件引入
app.use(router);
//引用elment-plus
app.use(ElementPlus, {
  locale: zhCn,
})
// 注册vxe-table
app.use(VxeTable);
// 注册store
//app.use(store);
// 挂载应用

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.mount("#app");
